
package exercises.Charpter7;

class TestFinal{
	static final int a = 0;
	final int b;
	TestFinal(int i){
		b = i;
	}
	TestFinal(){
		b = 1;
	}
	public String toString() {
		return a + " & " + b;
	}
}

public class Eighteen {
	public static void  main(String[] args) {
		TestFinal test1 = new TestFinal(10);
		TestFinal test2 = new TestFinal(11);
		System.out.println(test1);
		System.out.println(test2);
	}
}

